CREATE TABLE [dbo].[TTTISO_PRPL]
(
[CO_EMPR] [dbo].[TD_VC_002] NOT NULL,
[CO_PLAN] [dbo].[TD_VC_003] NOT NULL,
[TI_SOLI_PRES] [dbo].[TD_VC_003] NOT NULL,
[CO_USUA_CREA] [dbo].[TD_VC_008_USUA] NOT NULL CONSTRAINT [DF__TTTISO_PR__CO_US__0D8FDC76] DEFAULT (suser_sname()),
[FE_USUA_CREA] [dbo].[TD_DT_001_SIST] NOT NULL CONSTRAINT [DF__TTTISO_PR__FE_US__0E8400AF] DEFAULT (getdate()),
[CO_USUA_MODI] [dbo].[TD_VC_008_USUA] NOT NULL CONSTRAINT [DF__TTTISO_PR__CO_US__0F7824E8] DEFAULT (suser_sname()),
[FE_USUA_MODI] [dbo].[TD_DT_001_SIST] NOT NULL CONSTRAINT [DF__TTTISO_PR__FE_US__106C4921] DEFAULT (getdate())
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[TTTISO_PRPL] ADD CONSTRAINT [PK__TTTISO_P__99F095AB4C371A65] PRIMARY KEY CLUSTERED  ([CO_EMPR], [CO_PLAN], [TI_SOLI_PRES]) ON [PRIMARY]
GO
ALTER TABLE [dbo].[TTTISO_PRPL] ADD CONSTRAINT [FK__TTTISO_PR__CO_EM__7E5885DE] FOREIGN KEY ([CO_EMPR]) REFERENCES [dbo].[TMPARA_TESO] ([CO_EMPR])
GO
